/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.checkFlow.factory.impl;

import com.yunhoo.checkFlow.factory.dao.BillCheck;
import com.yunhoo.checkFlow.factory.dao.CheckFlowFactory;

/**
 *
 * @author Administrator
 */
public class ContractTest {

    public static void main(String[] args) {
        CheckFlowFactory cff = new ContractCheckFlowFactory();
        BillCheck check = cff.produceCheckFlow("type", "perId", "rowlId");
        check.pass("001", null);
        check.sendBack("001", null);
        check.cancelCheck("001");
    }
}
